<template>
	<view class="content">
		<image class="bg-img" src="../../static/index/img3.jpg"></image>
		<view class="avatarWrapper">
			<view class="avatar">
				<uni-file-picker  disable-preview :del-icon="false" return-type="object">选择头像
				</uni-file-picker>
			</view>
		</view>
		<view class="form">
			<form action="">
				<view class="inputWrapper">
					<input class="input" type="text" value="" placeholder="请输入用户名" />
				</view>
				<view class="inputWrapper">
					<input class="input" type="password" value="" placeholder="请输入密码" />
				</view>
				<view>
					<button class="btnValue">注&nbsp;&nbsp;&nbsp;&nbsp;册</button>
				</view>
			</form>
		</view>
	</view>
</template>

<script>
	// export default {
	// 		data() {
	// 			imageStyles:{
	// 				width:100;
	// 				height:100;
	// 				border:{
	// 					color:"#ff5a5f";
	// 					style:'dashed';
	// 					radius:'50px';
	// 				}
	// 			}
				
	// 		}
	// }
</script>

<style>
	.bg-img {
		position: fixed;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		z-index: -1;
	}

	.content {
		width: 100vw;
		height: 100vh;
	}

	.avatarWrapper {
		height: 30vh;
		width: 100vw;
		display: flex;
		justify-content: center;
		align-items: flex-end;
	}

	.avatar {
		width: 450upx;
		height: 450upx;
		overflow: hidden;
		display: flex;
		justify-content: center;
		align-items: flex-end;
		padding-left: 40%;
	}
	.form {
		padding: 0 100upx;
		margin-top: 80px;
	}
	
	.inputWrapper {
		width: 100%;
		height: 80upx;
		background: white;
		border-radius: 20px;
		box-sizing: border-box;
		padding: 0 20px;
		margin-top: 25px;
		opacity: 0.9;
	}
	
	.inputWrapper .input {
		width: 100%;
		height: 100%;
		text-align: center;
		font-size: 15px;
	}
	.btnValue {
		color: white;
		width: 100%;
		height: 80upx;
		background: #55aaff;
		border-radius: 50upx;
		margin-top: 50px;
		display: flex;
		justify-content: center;
		align-items: center;
		opacity: 0.9;
		font-weight: bold;
	}
	/deep/ element.style{
		border-radius: 120px !important;
	}
</style>
